This function returns the compression code and compression parameters for a given field.
Result = EOS_SW_COMPINFO(swathID, fieldname, compcode, compparm)
Returns SUCCEED(0) if successful and FAIL(–1) otherwise.
Swath id (long) returned by EOS_SW_CREATE or EOS_SW_ATTACH.
Fieldname (string).
A named variable that will contain the HDF compression code (long).
A named variable that will contain the compression parameters (long).
None
To retrieve the compression information about the Opacity field defined in the EOS_SW_DEFCOMP section:
status = EOS_SW_COMPINFO(swathID, "Opacity", compcode, compparm)
5.2 |
Introduced |